contracts on functions were broken. fixed now.