add constants, io, subs