Mathematics unit