solved - can't figure out how fastest accepted solution works :(