initial astyanax code