very poor performing initial version