api now readable, also fixed bug in Block