accept both :int and :integer as type