moved resource defines