improved formatting to use php string interpolation