cleaned up website code