added frame rate setting feature function : set_fps