forgot to change annotated to resources, works now