replaced cast operator with operator types