Added directions into optHandler