working on inputs