first approach at handling raw directive