added proof of concept code for testing