Create matts code