restructure, take command line args
use floats