pad init solution