attempt at solving an error