Reworked a little for simpler syntax and better type checking, can now specify number and boolean datatypes.