bugfix & implemented defaults function to extend