Finished bare-bone implementation