Base function with bugs is ready