snippit while added