gemrc updates, I guess
Add fp and fk functions