added local query, begin styling