Remove # from the beginning and end of def names. The # is a paste operator and should only be used with something to paste on either side.