trival code