an example of multiple instances implementation