created a buggy add_to method