functions CODE and SUM'll do it