algo. work around