removing old top image function