Version 1.1

Refined code
removed unnnecessary port use