I have worked it out, I didn't have it wrapped in a group code, thanks any way