added some functions and # was removed from url