select v0.2 working, code not organized