V0.2.0: corrected Chalice Logic