added call to function in generic operations