removed unuses snippet