Adding compiler restriction, not sure if this is the right place