#3 Use scoping to get published posts