finished the first version of greenlight, not sure how to test it