rename to avoid conflicts with existing matlab functions