Fixed static vs dynamic problem
Completed explanation