Pretty solid logic

Pretty solid logic