input sort of works