tidied strutcture and added dist
fixed collapsed spacing