Use guard if style
Share common code