Required functions added