added necessary stuff for foundation.