better to put this stuff in onstop