Fixed indentation and added q4