port number check implemented
notes for assigment added