empty code and memory but still getting errors