added first functions