first getchar/purchar