added screen clearing for cleaner output