changes title and use capitalize method