Made a workable prototype