optimised code a little