tidying up syntax