awful init code