First functional version with a ton of bugs