added dependecy, added pre-mysql code