Final functionality w/o comments