removed unecessary type cast