rearranged GUI added forward functionalityy