Styled page, added loss conditions