interface for extended stored procedure