edited out udacity stuff