added explicit type conversion