adding specs
mostly debug stuff