-EDITED- input detection + weird meta things