separated fabric into new file