added q and u functions
add readme