cleaned up char declarations