xmday baby functions