spent too much time for a missing semicolon bug...