Attempt at using ports