added support for the go home functionality
updated code for testing