improved proof of concept