added cast
added cast