Still need to figure out how to deal with layers