capitalize method type