accept character as argument