finishe the base function