imlemented gratefriends view, bug fixing