added a 'directive' kindof thing