Clarified some var and made it easy to customize