impd init and draw fns