adjusted to coffeenode standards