Implemented back functionality