capitalize method index in use