added optional days back variable and fixed contributor structure