empty old contents before display, and execute function to co-ordinate