did slight tweaking to blockSmith