now works with integers :)