Also, it is very likely that there is a better solution than what I am proposing.