working on it, compiles but unfinished feature - input
now works properly