removing prints. TODO: switch to printerr