Removed whitespace, added new line after dependencies and taking care if no deal available