Calculating an associated value from select_one

Peep this thread and @LN s explanation