added initial functions