trying to debug
merged code