fixed some problems
added blocks