added cast to inte