linechar attempt 1