first try to solve ticket 137, take2