added dangerous get method to opt and added correct imports
fixed imports
added a future type