Notes and parts of implementation on options handling