fixed explicit code bug
cleaned up prints