v0.1 basic functions done