first function

added first function