attempt to encapsulate back button