made static resources bindings nicer