You're making it harder than it is. Think about what you have written here and work around that.