initial work on improving the interaction analysis