port
handle nulls