Implementation of basic function, error on making