single list implementation with integers