Added possibility to add pointers to lists