Removing redundant ffunctions