removed unneeeded type conversion