strcmp added for comparing strings