updated standlone file