parse function params by cheating