Don't hard code string length, use strlen() instead