My moms cat when she wanted in would (ok let me set this up we lived in 2 story home with a set of stairs up to the second level. She would get on the rail and jump to the
window and hang there until we let her in. if there was a fresh bag of food and we were waiting to use the rest of the "old" food she would drag the bag of cat food out to us so she would not have to eat the old food. She was so funny!