Fixed errors + made constructors work