fixed a naming issue nad added me function