Tried to add preferences stuff