Use double for max value
Add clear screen feature