Use try! instead of unwrap when calling functions