updated frame constructor and extraction methods