Removed "validate input params" from TODO
Added validation for input port