method draw layers- debug