all error code in port commented out and TODO added to all methods