argghhh! working on computer algorith