optimised little bit