Finished code beta