update port variables, cleaned up old code
updated styling