create capitalize method