using global variables; mvpa is ready