added convenience methods for creating problems and accessing their parts