commented & added in one function