converted port variables to int