added Input methods that support an input port