still trying to work out a bug wherein a newline char fixes a control issue