auto-refpointing warnings
Will unify input error handling