chase jose api change ('gen' function)