edited errors and added main requirements