changes to clarify the code