removed prev code