added random placeholder code to demonstrate the idea