adding slim and apply syntax