cleaning up, simplifying logic. adding warning to readme