fix printAt bug

removed private scope, made public