removed most of the inputs