refac blocks