Trying to handle multiple instances