Removing warnings and fixing Left bound