debugging..still broken