well, it would have worked. except drawing the background properly is the only problem left.