Variable length port