achievement logic added