trouble with bitmap-under-function set up