Version 0.0.1. Logic code.