renamed consts object to more aptly named 'defaults' object