Added newSingle code