documentation + code styling updated