Implemented fg