Implemented first 5 procedures