improved convenience of ref setup